package com.yc.web.DTO;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
@Data
public class UserRedPacketRecordDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long recordId; // 记录ID
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId; // 用户ID
    private Long activityId; // 红包活动ID
    private Double grabAmount; // 领取的红包金额
    private LocalDateTime grabTime; // 领取时间
}
